package org.wutopia.labcloud.domain.uaa.controller;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.wutopia.labcloud.domain.uaa.controller.vo.output.UserNotificationGetListOutputVO;
import org.wutopia.labcloud.domain.uaa.service.UserNotificationService;
import org.wutopia.labcloud.library.common.base.CodedMessage;
import org.wutopia.labcloud.library.common.base.PageInputVO;
import org.wutopia.labcloud.library.common.base.PageOutputVO;

@RestController
@Slf4j
@AllArgsConstructor
@RequestMapping("/user/notification")
public class UserNotificationController {

    private UserNotificationService userNotificationService;

    @PostMapping("/list")
    public ResponseEntity<CodedMessage<PageOutputVO<UserNotificationGetListOutputVO>>> getList(@RequestBody PageInputVO vo) {

        userNotificationService.getList(vo);

        return null;
    }


    @PostMapping("/delete")
    public ResponseEntity<CodedMessage<String>> delete(@RequestBody Long id) {

        return null;
    }
}
